import Vue from "vue";
import Router from "vue-router";
import Index from "@/pages/Index";
/* ------------- */
import MyOrder from '@/pages/home/orderCenter/MyOrder'
import OrderDetail from "@/pages/home/orderCenter/OrderDetail"
import MyAddress from "@/pages/home/orderCenter/MyAddress"
import AddAddress from "@/pages/home/orderCenter/AddAddress"
import Complain from "@/pages/home/orderCenter/Complain"
import AfterSale from "@/pages/home/orderCenter/AfterSale"
import AfterSaleDetail from "@/pages/home/orderCenter/AfterSaleDetail"
import ApplyAfterSale from "@/pages/home/orderCenter/ApplyAfterSale"
import Profile from "@/pages/home/memberCenter/Profile"
import AccountSafe from "@/pages/home/memberCenter/AccountSafe"
import ModifyPwd from "@/pages/home/memberCenter/ModifyPwd"
import Favorites from "@/pages/home/memberCenter/Favorites"
import Distribution from "@/pages/home/memberCenter/Distribution"
import CommentList from "@/pages/home/memberCenter/CommentList"
import AddEval from "@/pages/home/memberCenter/evaluation/AddEval"
import EvalDetail from "@/pages/home/memberCenter/evaluation/EvalDetail"
import ComplainList from "@/pages/home/memberCenter/ComplainList"
import ComplainDetail from "@/pages/home/memberCenter/ComplainDetail"
import Point from "@/pages/home/memberCenter/Point"
import MsgList from "@/pages/home/memberCenter/memberMsg/MsgList"
import MsgDetail from "@/pages/home/memberCenter/memberMsg/MsgDetail"
import Coupons from "@/pages/home/userCenter/Coupons"
import MyTracks from "@/pages/home/userCenter/MyTracks"
import MoneyManagement from "@/pages/home/userCenter/MoneyManagement"
import Home from "@/pages/user/Home"
import Merchant from "@/pages/Merchant"
import UserMain from "@/pages/home/Main"

import Login from "@/pages/Login"
import SignUp from "@/pages/SignUp"
import ForgetPassword from "@/pages/ForgetPassword"
import GoodsList from "@/pages/GoodsList"
import GoodsDetail from "@/pages/GoodsDetail"
import PointGoodsDetail from "@/pages/promotion/PointGoodsDetail"
import ShoppingCart from "@/pages/ShoppingCart"
import Cart from "@/pages/Cart"
import Pay from "@/pages/payment/Pay"
import PayDone from "@/pages/payment/PayDone"
import PayMent from "@/pages/payment/PayMent"
import ThirdPay from "@/pages/payment/ThirdPay"
import Coupon from "@/pages/CouponCenter"
import seckill from "@/pages/promotion/seckill"
import article from "@/pages/article/index"
import articleDetail from "@/pages/article/detail"
import PointMall from "@/pages/promotion/PointMall"



// const Login = (resolve) => require(["@/pages/Login"], resolve);
// const SignUp = (resolve) => require(["@/pages/SignUp"], resolve);
// const ForgetPassword = (resolve) =>
//   require(["@/pages/ForgetPassword"], resolve);
// const GoodsList = (resolve) => require(["@/pages/GoodsList"], resolve);
// const GoodsDetail = (resolve) => require(["@/pages/GoodsDetail"], resolve);
// const PointGoodsDetail = (resolve) =>
//   require(["@/pages/promotion/PointGoodsDetail"], resolve);
// const ShoppingCart = (resolve) => require(["@/pages/ShoppingCart"], resolve);
// const Cart = (resolve) => require(["@/pages/Cart"], resolve);
// const Pay = (resolve) => require(["@/pages/payment/Pay"], resolve);
// const PayDone = (resolve) => require(["@/pages/payment/PayDone"], resolve);
// const PayMent = (resolve) => require(["@/pages/payment/PayMent"], resolve);
// const ThirdPay = (resolve) => require(["@/pages/payment/ThirdPay"], resolve);
// const Coupon = (resolve) => require(["@/pages/CouponCenter"], resolve);
// const seckill = (resolve) => require(["@/pages/promotion/seckill"], resolve);
// const article = (resolve) => require(["@/pages/article/index"], resolve);
// const articleDetail = (resolve) => require(["@/pages/article/detail"], resolve);
// const PointMall = (resolve) =>
//   require(["@/pages/promotion/PointMall"], resolve);

/*
 * 会员中心
 * 订单列表
 */



// const MyOrder = (resolve) =>
//   require([`@/pages/home/orderCenter/MyOrder`], resolve);
// const OrderDetail = (resolve) =>
//   require([`@/pages/home/orderCenter/OrderDetail`], resolve);
// const MyAddress = (resolve) =>
//   require(["@/pages/home/orderCenter/MyAddress"], resolve);
// const AddAddress = (resolve) =>
//   require(["@/pages/home/orderCenter/AddAddress"], resolve);
// const Complain = (resolve) =>
//   require(["@/pages/home/orderCenter/Complain"], resolve);
// const AfterSale = (resolve) =>
//   require(["@/pages/home/orderCenter/AfterSale"], resolve);
// const AfterSaleDetail = (resolve) =>
//   require(["@/pages/home/orderCenter/AfterSaleDetail"], resolve);
// const ApplyAfterSale = (resolve) =>
//   require(["@/pages/home/orderCenter/ApplyAfterSale"], resolve);

/*
 * 会员中心
 */

// const Profile = (resolve) =>
//   require(["@/pages/home/memberCenter/Profile"], resolve);
// const AccountSafe = (resolve) =>
//   require(["@/pages/home/memberCenter/AccountSafe"], resolve);
// const ModifyPwd = (resolve) =>
//   require(["@/pages/home/memberCenter/ModifyPwd"], resolve);
// const Favorites = (resolve) =>
//   require(["@/pages/home/memberCenter/Favorites"], resolve);
// const Distribution = (resolve) =>
//   require(["@/pages/home/memberCenter/Distribution"], resolve);
// const CommentList = (resolve) =>
//   require(["@/pages/home/memberCenter/CommentList"], resolve); // 评价列表
// const AddEval = (resolve) =>
//   require(["@/pages/home/memberCenter/evaluation/AddEval"], resolve); // 添加评价
// const EvalDetail = (resolve) =>
//   require(["@/pages/home/memberCenter/evaluation/EvalDetail"], resolve);
// const ComplainList = (resolve) =>
//   require(["@/pages/home/memberCenter/ComplainList"], resolve);
// const ComplainDetail = (resolve) =>
//   require(["@/pages/home/memberCenter/ComplainDetail"], resolve);
// const Point = (resolve) =>
//   require(["@/pages/home/memberCenter/Point"], resolve);
// const MsgList = (resolve) =>
//   require(["@/pages/home/memberCenter/memberMsg/MsgList"], resolve);
// const MsgDetail = (resolve) =>
//   require(["@/pages/home/memberCenter/memberMsg/MsgDetail"], resolve);

/*
 * 会员中心
 * 账户中心
 * */

// const Coupons = (resolve) =>
//   require(["@/pages/home/userCenter/Coupons"], resolve);
// const MyTracks = (resolve) =>
//   require(["@/pages/home/userCenter/MyTracks"], resolve);
// const MoneyManagement = (resolve) =>
//   require(["@/pages/home/userCenter/MoneyManagement"], resolve);

// const Home = (resolve) => require(["@/pages/user/Home"], resolve);

// const Merchant = (resolve) => require(["@/pages/Merchant"], resolve);
// const UserMain = (resolve) => require(["@/pages/home/Main"], resolve);

const SearchPage = (resolve) => require(["@/pages/home/searchPage"], resolve);
/**
 * 店铺入驻
 */
import ShopEntry from "@/pages/shopEntry/ShopEntry"
import PartnersDetails from "@/pages/home/partnersDetails"
// const ShopEntry = (resolve) =>
//   require(["@/pages/shopEntry/ShopEntry"], resolve);

// const PartnersDetails = (resolve) =>
//   require(["@/pages/home/partnersDetails"], resolve);

//   合作伙伴介绍

Vue.use(Router);
// Router.onError((error) => {
//   const jsPattern = /Loading chunk (\S)+ failed/g
//   const cssPattern = /Loading CSS chunk (\S)+ failed/g
//   const isChunkLoadFailed = error.message.match(jsPattern || cssPattern)
//   const targetPath = router.history.pending.fullPath
//   if (isChunkLoadFailed) {
//     localStorage.setItem('targetPath', targetPath)
//     window.location.reload()
//   }
// })
/**
 * 解决重复点击菜单会控制台报错bug
 */
const routerPush = Router.prototype.push;
Router.prototype.push = function push(location) {
  return routerPush.call(this, location).catch((error) => error);
};







export default new Router({
  mode: "history",
  routes: [
    //新加页面的路由
    {
      path: "/login",
      name: "login",
      component: () => import("@/pages/login/login.vue"),
      meta: {
        title: "登录",
      },
    },
    {
      path: "/loginLoad",
      name: "loginLoad",
      component: () => import("@/pages/login/loginLoad.vue"),
      meta: {
        title: "跳转中",
      },
    },
    {
      path: '/',
      redirect: "/home"
    },
    // {
    //   path:'/bindingStudentId',
    //   name:'bindingStudentId',
    //   component: () => import("@/pages/login/bindingStudentId.vue"),
    // },
    // {
    //   path:'/person',
    //   name:'person',
    //   component: () => import("@/pages/login/person.vue"),
    // },
    {
      path: "/home",
      name: "home_index",
      component: () => import("@/pages/home/home.vue"),
      // meta: {
      //   title: "首页",
      // },
    },


    {
      path: "/courseCenter",
      name: "courseCenter",
      component: () => import("@/pages/course/course-center.vue"),
      // meta: {
      //   title: "课程中心",
      // },
    },

    {
      path: "/liveCenter",
      name: "liveCenter",
      component: () => import("@/pages/liveCenter/index.vue"),
      // meta: {
      //   title: "直播中心",
      // },
    },
    {
      path: "/mySub", // 我的预约
      name: "mySub",
      component: () => import("@/pages/person/mySub.vue"),
    },
    {
      path: "/community",
      name: "community",
      redirect: "/active",
      component: () => import("@/pages/community/index.vue"),
      // meta: {
      //   title: "社区",
      // },
      children: [
        {
          path: "/active",
          name: "active",
          redirect: "/follow",
          component: () => import("@/pages/community/active.vue"),
          meta: {
            title: "活动",
          },
          children: [
            {
              path: "/follow",
              name: "comment",
              // redirect:'/addfriends',
              component: () => import("@/pages/community/follow.vue"),
              // component:comment,

            },
            {
              path: "/selected",
              name: "comment",
              component: () => import("@/pages/community/selected.vue"),
              // component:comment,

            },
            {
              path: "/circle",
              name: "comment",
              component: () => import("@/pages/community/circle.vue"),
              // component:comment,

            },
            {
              path: "/active-index",
              name: "active-index",
              component: () => import("@/pages/community/activePage/index.vue"),
              meta: {
                title: "全部活动",
              },
            },
            {
              path: "/active-detail",
              name: "active-detail",
              component: () => import("@/pages/community/activePage/detail.vue"),
              meta: {
                title: "活动详情",
              },
            },
            {
              path: "/active-signup",
              name: "active-signup",
              component: () => import("@/pages/community/activePage/signup.vue"),
              meta: {
                title: "活动报名",
              },
            },
          ]
        },
        // {
        //   path: "/active-detail",
        //   name: "active-detail",
        //   component: () => import("@/pages/community/activePage/detail.vue"),
        //   meta: {
        //     title: "活动详情",
        //   },
        // },
        // {
        //   path: "/active-signup",
        //   name: "active-signup",
        //   component: () => import("@/pages/community/activePage/signup.vue"),
        //   meta: {
        //     title: "活动报名",
        //   },
        // },
        // {
        //   path: "/follow",
        //   name: "comment",
        //   // redirect:'/addfriends',
        //   component: () => import("@/pages/community/follow.vue"),
        //   // component:comment,
        //   meta: {
        //     title: "关注",
        //   },
        // },
        // {
        //   path: "/selected",
        //   name: "comment",
        //   component: () => import("@/pages/community/selected.vue"),
        //   // component:comment,
        //   meta: {
        //     title: "精选",
        //   },
        // },
        // {
        //   path: "/circle",
        //   name: "comment",
        //   component: () => import("@/pages/community/circle.vue"),
        //   // component:comment,
        //   meta: {
        //     title: "圈子",
        //   },
        // },
        {
          path: "/comment",
          name: "comment",
          component: () => import("@/pages/community/comment.vue"),
          // component:comment,
          meta: {
            title: "评论回复",
          },
        },
        {
          path: "/addfriends",
          name: "addfriends",
          component: () => import("@/pages/community/addfriends.vue"),
          meta: {
            title: "添加好友",
          },
        },
        {
          path: "/joincircle",
          name: "joincircle",
          component: () => import("@/pages/community/joincircle.vue"),
          meta: {
            title: "添加圈子",
          },
        },
        {
          path: "/draft",
          name: "draft",
          component: () => import("@/pages/community/draft.vue"),
          meta: {
            title: "草稿箱",
          },
        },
        {
          path: "/circle-detail",
          name: "circle-detail",
          component: () => import("@/pages/community/circle-detail.vue"),
          meta: {
            title: "圈子详情",
          },
        }
        // {
        //   path: "comment",
        //   name: "comment",
        //   component: () => import("@/pages/community/comment.vue"),
        //   // component:comment,
        //   meta: {
        //     title: "评论回复",
        //   },
        // },
      ]
    },
    {
      path: "/personalpage",
      name: "personalpage",
      component: () => import("@/pages/community/personalpage.vue"),
      meta: {
        title: "个人中心他人",
      },
    },

    {
      path: "/courseAudio",
      name: "courseAudio",
      component: () => import("@/pages/course/course-audio.vue"),
      meta: {
        title: "音频播放",
      },
    },
    {
      path: "/courseVideo",
      name: "courseVideo",
      component: () => import("@/pages/course/course-video.vue"),
      meta: {
        title: "视频播放",
      },
    },
    {
      path: "/courseDetail",
      name: "course_detail",
      component: () => import("@/pages/course/course-detail.vue"),
    },
    //空白页
    {
      path: "/null",
      name: "null",
      component: () => import("@/components/course/null.vue"),
    },

    {
      path: "/onlineConsulting", // 在线咨询首页
      name: "onlineConsulting",
      component: () => import("@/pages/online_consulting/index.vue"),
    },
    {
      path: "/start", // 开始咨询
      name: "start",
      component: () => import("@/pages/online_consulting/start.vue"),
    },
    {
      path: "/pay/:id", // 开始咨询支付
      name: "pay",
      component: () => import("@/pages/online_consulting/pay.vue"),
    },
    {
      path: "/registered", // 线下预约
      name: "registered_home",
      component: () => import("@/pages/registered/index.vue"),
    },
    {
      path: "/chooseDate", // 线下预约选择日期
      name: "choose_date",
      component: () => import("@/pages/registered/chooseDate.vue"),
    },
    {
      path: "/doctorList", // 线下预约医生列表
      name: "doctor_list",
      component: () => import("@/pages/registered/doctorList.vue"),
    },
    {
      path: "/registered_pay", // 线下预约医生列表
      name: "registered_pay",
      component: () => import("@/pages/registered/pay.vue"),
    },
    {
      path: "/site", // 找场地首页
      name: "site_index",
      component: () => import("@/pages/findSite/index.vue"),
    },
    {
      path: "/siteDetail", // 场地详情
      name: "site_detail",
      component: () => import("@/pages/findSite/siteDetail.vue"),
    },
    {
      path: "/base", // 基地首页
      name: "base_index",
      component: () => import("@/pages/base/index.vue"),
    },
    {
      path: "/baseDetail", // 基地详情
      name: "base_detail",
      component: () => import("@/pages/base/detail.vue"),
    },
    {
      path: "/informatInfo", // 资讯详情
      name: "information",
      component: () => import("@/pages/information/index.vue"),
    },
    {
      path: "/healthScienceDetails", // 资讯-健康科普详情
      name: "healthScienceDetails",
      component: () => import("@/pages/information/healthScienceDetails.vue"),
    },
    {
      path: "/informat", // 资讯
      name: "information",
      component: () => import("@/pages/information/informat.vue"),
    },
    {
      path: "/expertList", // 找专家-
      name: "expertList",
      component: () => import("@/pages/expert/expertList.vue"),
    },
    {
      path: "/expertRegister", // 找专家-
      name: "expertRegister",
      component: () => import("@/pages/expert/expertRegister.vue"),
    },
    // {
    //   path: "/findExperts", // 找专家-
    //   name: "findExperts",
    //   component: () => import("@/pages/expert/findExperts.vue"),
    // },
    {
      path: "/experts", // 找专家-
      name: "experts",
      component: () => import("@/pages/expert/knowledge/knowledgePage.vue"),
    },
    {
      path: "/personInfo", // 个人中心
      name: "personInfo",
      component: () => import("@/pages/person/personInfo.vue"),
    },
    {
      path: "/set", // 设置
      name: "setInfo",
      component: () => import("@/pages/person/setInfo.vue"),
    },
    {
      path: "/myOrder", // 设置
      name: "myOrder",
      component: () => import("@/pages/person/MyOrder.vue"),
    },
    {
      path: "/myConsulting", // 我的咨询
      name: "myConsulting",
      component: () => import("@/pages/person/myConsulting.vue"),
    },
    {
      path: "/myCourse", // 我的课程
      name: "myCourse",
      component: () => import("@/pages/person/myCourse.vue"),
    },
    {
      path: "/patientInfo", // 患者信息
      name: "patientInfo",
      component: () => import("@/pages/person/patientInfo.vue"),
    },
    {
      path: "/exerciseRecord", // 锻炼记录
      name: "exerciseRecord",
      component: () =>
        import("@/pages/person/exerciseRecord/exerciseRecord.vue"),
    },
    {
      path: "/myTopic", // 我的话题
      name: "myTopic",
      component: () =>
        import("@/pages/person/myTopic/myTopic.vue"),
    },
    {
      path: "/myaAppoint", // 我的质询
      name: "myaAppoint",
      component: () => import("@/pages/person/myaAppoint.vue"),
    },

    // {
    //   path: "/login", // 登陆
    //   name: "login",
    //   component: Login,
    //   meta: {
    //     title: "登录",
    //   },
    // },
    {
      path: "/SignUp", // 注册
      name: "SignUp",
      component: SignUp,
      meta: {
        title: "注册",
      },
    },
    {
      path: "/forgetPassword", // 忘记密码
      name: "forgetPassword",
      component: ForgetPassword,
      meta: {
        title: "忘记密码",
      },
    },
    {
      path: "/goodsList", // 商品列表
      name: "GoodsList",
      component: GoodsList,
    },
    {
      path: "/goodsDetail", // 商品详情
      name: "GoodsDetail",
      component: GoodsDetail,
      meta: {
        title: "商品详情",
      },
    },
    {
      path: "/pointGoodsDetail", // 商品详情
      name: "PointGoodsDetail",
      component: PointGoodsDetail,
      meta: {
        title: "积分商品",
      },
    },
    {
      path: "/shoppingCart", // 头部购物车
      name: "ShoppingCart",
      component: ShoppingCart,
    },
    {
      path: "/cart", // 购物车
      name: "Cart",
      component: Cart,
      meta: {
        title: "购物车",
      },
    },
    {
      path: "/payshop", // 支付页面
      name: "Pay",
      component: Pay,
      meta: {
        title: "订单结算",
      },
    },
    {
      path: "/payMent",
      name: "PayMent",
      component: PayMent,
    },
    {
      path: "/PointMall",
      name: "PointMall",
      component: PointMall,
      meta: {
        title: "积分商城",
      },
    },
    {
      path: "/qrpay", // 三方支付
      name: "qrpay",
      component: ThirdPay,
    },
    {
      path: "/payDone", // 支付成功页面
      name: "PayDone",
      component: PayDone,
    },
    {
      path: "/article", // 文章页面
      name: "article",
      component: article,
      meta: {
        title: "帮助中心",
      },
    },
    {
      path: "/article/detail", // 文章页面
      name: "articleDetail",
      component: articleDetail,
      meta: {
        title: "帮助中心",
      },
    },
    {
     path: "/searchPage",
     name: "SearchPage",
     component: SearchPage,
     meta: {
       title: "平台搜索",
     },
   },
    {
      path: "/shopEntry",
      name: "shopEntry",
      component: ShopEntry,
      meta: {
        title: "店铺入驻",
      },
    },
    {
      path: "/coupon",
      name: "coupon",
      component: Coupon,
      meta: {
        title: "领券中心",
      },
    },
    {
      path: "/seckill",
      name: "seckill",
      component: seckill,
      meta: {
        title: "限时秒杀",
      },
    },
    {
      path: "/market", // 商城
      name: "market",
      component: Index,
    },
    {
      path: "/home", // 主页
      component: Home,
      children: [
        {
          path: "shophome",
          name: "Home",
          component: UserMain,
          meta: {
            title: "会员中心",
          },
        },
        {
          path: "MyTracks",
          name: "MyTracks",
          component: MyTracks,
          meta: {
            title: "我的足迹",
          },
        },
        {
          path: "MoneyManagement",
          name: "MoneyManagement",
          component: MoneyManagement,
        },
        {
          path: "Complain",
          name: "Complain",
          component: Complain,
        },
        {
          path: "Coupons",
          name: "Coupons",
          component: Coupons,
        },
        {
          path: "CommentList",
          name: "CommentList",
          component: CommentList,
          mate: {
            title: "评价列表",
          },
        },
        {
          path: "AddEval",
          name: "AddEval",
          component: AddEval,
          mate: {
            title: "添加评价",
          },
        },
        {
          path: "EvalDetail",
          name: "EvalDetail",
          component: EvalDetail,
          mate: {
            title: "评价详情",
          },
        },
        {
          path: "ComplainList",
          name: "ComplainList",
          component: ComplainList,
        },
        {
          path: "ComplainDetail",
          name: "ComplainDetail",
          component: ComplainDetail,
        },
        {
          path: "AccountSafe",
          name: "AccountSafe",
          component: AccountSafe,
        },
        {
          path: "ModifyPwd",
          name: "ModifyPwd",
          component: ModifyPwd,
        },
        {
          path: "Favorites",
          name: "Favorites",
          component: Favorites,
          meta: {
            title: "我的收藏",
          },
        },
        {
          path: "Distribution",
          name: "Distribution",
          component: Distribution,
          meta: {
            title: "分销推荐",
          },
        },
        {
          path: "Point",
          name: "Point",
          component: Point,
          meta: {
            title: "我的积分",
          },
        },
        {
          path: "Profile",
          name: "Profile",
          component: Profile,
        },
        {
          path: "AfterSale",
          name: "AfterSale",
          component: AfterSale,
          meta: {
            title: "售后",
          },
        },
        {
          path: "ApplyAfterSale",
          name: "ApplyAfterSale",
          component: ApplyAfterSale,
          meta: {
            title: "申请售后",
          },
        },
        {
          path: "/home/MyAddress",
          name: "MyAddress",
          component: MyAddress,
          meta: {
            title: "收货地址",
          },
        },
        {
          path: "AddAddress",
          name: "AddAddress",
          component: AddAddress,
        },
        {
          path: "MsgList",
          name: "MsgList",
          component: MsgList,
          meta: {
            title: "我的消息",
          },
        },
        {
          path: "MsgDetail",
          name: "MsgDetail",
          component: MsgDetail,
          meta: {
            title: "我的消息",
          },
        },
        {
          path: "MyOrder",
          name: "MyOrder",
          component: MyOrder,
          meta: {
            title: "我的订单",
          },
        },
        {
          path: "OrderDetail",
          name: "OrderDetail",
          component: OrderDetail,
          meta: {
            title: "订单详情",
          },
        },
        {
          path: "AfterSaleDetail",
          name: "AfterSaleDetail",
          component: AfterSaleDetail,
          meta: {
            title: "售后详情",
          },
        },
      ],
    },
    {
      path: "/merchant",
      name: "Merchant",
      component: Merchant,
      meta: {
        title: "店铺",
      },
    },
    {
      path: "/partnersDetails",
      name: "partnersDetails",
      component: PartnersDetails,
      meta: {
        title: "合作伙伴介绍",
      },
    },
    {
      path: "/myAttention", // 我的关注
      name: "myAttention",
      component: () => import("@/pages/person/myAttention/myAttention.vue"),
    },
    {
      path: "/myCollection",
      name: "myCollection",
      component: () => import("@/pages/person/myCollection/myCollection.vue"),
      meta: {
        title: "收藏",
      },
    },
    {
      path: "/fansList",
      name: "fansList",
      component: () => import("@/pages/person/myFans/fansList.vue"),
      meta: {
        title: "粉丝列表",
      },
    },
    {
      path: "/myAppointDetails",
      name: "myAppointDetails",
      component: () => import("@/pages/person/myAppoint/myAppointDetails.vue"),
      meta: {
        title: "收藏",
      },
    },
    {
      path: "/onlineConsultingDetails",
      name: "onlineConsultingDetails",
      component: () =>
        import("@/pages/onlineConsultingDetails/onlineConsultingDetails.vue"),
      meta: {
        title: "在线咨询详情",
      },
    },
  ],
});
